
	function fb_share() {
		var url=location.href;
        var title = $('[name=fb_share_title]').val();
        var summary = $('[name=fb_share_summary]').val();
        if(null != summary && summary.length > 200){
           summary = summary.substr(0, 200);
        }
        var image = $('[name=fb_share_image]').val();

        window.open('http://www.facebook.com/sharer/sharer.php' +
                '?s=100&p[title]=' + encodeURIComponent(title)+ '&p[summary]='+ encodeURIComponent(summary)
                +'&p[url]='+encodeURIComponent(url)+'&p[images][0]='+encodeURIComponent(image),
            'sharer','toolbar=0,status=0,width=626,height=436');

        return false;
	}
